Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Device Pixel Types

Pixels described in the TQ3XDrawRegionDescriptor data structure may be any of several types, as described in the following enumeration. Not all pixel types are supported on all devices.

typedef enum TQ3XDevicePixelType {
    kQ3XDevicePixelTypeInvalid      = 0,
    kQ3XDevicePixelTypeRGB32        = 1,
    kQ3XDevicePixelTypeARGB32       = 2,
    kQ3XDevicePixelTypeRGB24        = 3,
    kQ3XDevicePixelTypeRGB16        = 4,
    kQ3XDevicePixelTypeARGB16       = 5,
    kQ3XDevicePixelTypeRGB16_565    = 6,
    kQ3XDevicePixelTypeIndexed8     = 7,
    kQ3XDevicePixelTypeIndexed4     = 8,
    kQ3XDevicePixelTypeIndexed2     = 9,
    kQ3XDevicePixelTypeIndexed1     = 10
} TQ3XDevicePixelType;

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |